package com.coffee.sku.api.inquire.service;

import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;
import com.coffee.sku.api.inquire.query.InquireSalesInformationQuery;
import com.coffee.sku.api.inquire.result.InquireSalesInformationResult;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface InquireSalesInformationService {

	Page<InquireSalesInformationResult> getPager(InquireSalesInformationQuery param, PagerInfo pr);
	
	Integer count(InquireSalesInformationQuery param);
	
	InquireSalesInformationResult getDetail(Integer id);
	
	List<InquireSalesInformationResult> getList(InquireSalesInformationQuery param, PagerInfo pr);
	
	List<InquireSalesInformationResult> getList(InquireSalesInformationQuery param);
	
	List<InquireSalesInformationResult> getList();

	void delete(Integer id);

	void addOrUpdate(InquireSalesInformationResult result)throws BusinessException;
	
	Map<Integer,InquireSalesInformationResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,InquireSalesInformationResult> getItemMap();
	
}